package com.ch.home.service.serviceInterface.user;

import com.ch.home.bean.Message;

import java.util.HashMap;
import java.util.LinkedList;

/**
 * Created by CHEN on 2019/8/22.
 */
public interface MessageService {

    HashMap sendMessage(Message message);


    HashMap receiveMessage(Message message);

    HashMap getMessageHistory(Message message,int limit);

    Integer updateMessage(Message message);

}
